package com.shinbada.core.persistence.genrule;

import com.shinbada.common.utils.IdGen;

/**
 * @author initcap
 * @date Created in 2020/11/25 11:24.
 */
public enum DefalutGenRuleEnumSingleton implements IdGenRule {

    /**
     * 获取对象
     */
    INSTANCE;

    @Override
    public String genCode() {
        return IdGen.uuid();
    }

}
